﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LogIn_App.DAO
{
    public class LogInDao
    {
        readonly Dictionary<string, string> _users = new Dictionary<string, string>();
        public LogInDao()
        {
            _users.Add("111","123");
            _users.Add("222","123");
            _users.Add("333","123");
            _users.Add("444","123");
        }
        public string GetPassWd(string loginName)
        {
            return _users.FirstOrDefault(x => x.Key == loginName).Value;
        }

        
        
    }
}
